package com.joysuch.wwyt.core.entity;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;

/**
 * @author : pp
 * @date : Created in 2021/4/14 19:26
 */
@Data
public class BaseDataAuthParam {
    @NotNull(message = "角色id不能为空")
    @ApiModelProperty(value = "角色id", required = true)
    private Long roleId;
    @NotNull(message = "起始页不能为空")
    @ApiModelProperty(value = "起始页 从1开始", required = true)
    private Integer pageNum;
    @NotNull(message = "每页大小不能为空")
    @ApiModelProperty(value = "每页大小", required = true)
    private Integer pageSize;
}
